package org.scau.studentevaluation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.scau.studentevaluation.entity.dos.OtherActDO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author x1aolone
 * @since 2020-08-24
 */
public interface OtherActMapper extends BaseMapper<OtherActDO> {
    @Select("select isChecked from other_act where id=#{id} and other_act_year=#{year}")
    public boolean pass(int year,long id);
}
